<?php
	require('controls/connect_sql.php');
	session_start();
	if(isset($_SESSION['userid'])){
		include('controls/index.php');
	}
	else { 
		include('views/login.php');
		login();
	}
?>

